package com.qf.Service.Impl;



import com.qf.Dao.CategoryDao;
import com.qf.Dao.Impl.CategoryDaoImpl;
import com.qf.Entity.Category;
import com.qf.Service.CategoryService;
import com.qf.Util.DruidUtil;

import java.util.List;


/*2021/10/9*/public class CategoryServiceImpl implements CategoryService {
    CategoryDao categoryDao=new CategoryDaoImpl();
    @Override
    public List<Category> queryAllCategory() {
        DruidUtil.close();
        return categoryDao.selectAllCategory();
    }
}
